import * as React from 'react';
import { Icon } from 'antd';

export default function GoBack(props: any) {
  return (
    <a className="link-goback" onClick={() => props.history.goBack()}>
      <Icon type="arrow-left" /> 返回
    </a>
  );
}
